package com.shudai.largescreen.pojo.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import lombok.*;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
@HeadStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
//标题样式,垂直水平居中
@HeadFontStyle(fontName = "微软雅黑", fontHeightInPoints = 11, bold = BooleanEnum.FALSE)//表头字体样式
@HeadRowHeight(value = 50)//表头行高
@ContentFontStyle(fontName = "微软雅黑", fontHeightInPoints = 11)//内容字体样式
@ContentRowHeight(value = 30)//内容行高
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
public class NotSuExcelVo {
    @ExcelProperty(value = "订单号",index = 0)
    private  String orderId;

    @ExcelProperty(value = "客户ID",index = 1)
    private String userRecordId;

    @ExcelProperty(value = "店铺名称",index = 2)
    private String shopName;

    @ExcelProperty(value = "下单时间",index = 3)
    private String orderTime;

    @ExcelProperty(value = "第几次下单",index = 4)
    private String times;

    @ExcelProperty(value = "件数",index = 5)
    private String totalNumber;

    @ExcelProperty(value = "金额",index = 6)
    private String amount;

}
